//
//  FamousDoctorPassViewController.m
//  kuaiyidemo1
//
//  Created by 刘邓诏初 on 16/5/4.
//  Copyright © 2016年 刘邓诏初. All rights reserved.
//

#import "YZDoctorApplicantViewController.h"

@interface YZDoctorApplicantViewController ()
@property(nonatomic,strong)UIImageView *checkingImageView;
@property(nonatomic,strong)UIImageView *failImageView;
@property(nonatomic,strong)UIImageView *succeedImageView;
@property(nonatomic,strong)UIImageView *treatmentImageView;
@property(nonatomic,strong)UIImageView *matchingImageView;
@end

@implementation YZDoctorApplicantViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    [self prepareUI];
    

}

- (void)prepareUI{
    [self.view addSubview:self.checkingImageView];
    [self.view addSubview:self.failImageView];
    [self.view addSubview:self.succeedImageView];
    [self.view addSubview:self.treatmentImageView];
    [self.view addSubview:self.matchingImageView];
    self.view.backgroundColor = [UIColor whiteColor];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];

}

#pragma mark - 懒加载
- (UIImageView *)checkingImageView{
    if (_checkingImageView == nil) {
        _checkingImageView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"myt1"]];
        _checkingImageView.frame = CGRectMake(0, 64, [UIScreen mainScreen].bounds.size.width, 100);
    }
    return _checkingImageView;
}

- (UIImageView *)failImageView{
    if (_failImageView == nil) {
        _failImageView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"myt5"]];
        _failImageView.frame = CGRectMake(0, 164, [UIScreen mainScreen].bounds.size.width, 100);
    }
    return _failImageView;
}

- (UIImageView *)succeedImageView{
    if (_succeedImageView == nil) {
        _succeedImageView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"myt3"]];
        _succeedImageView.frame = CGRectMake(0, 264, [UIScreen mainScreen].bounds.size.width, 100);
    }
    return _succeedImageView;
}

- (UIImageView *)treatmentImageView{
    if (_treatmentImageView == nil) {
        _treatmentImageView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"myt4"]];
        _treatmentImageView.frame = CGRectMake(0, 364, [UIScreen mainScreen].bounds.size.width, 100);
    }
    return _treatmentImageView;
}

- (UIImageView *)matchingImageView{
    if (_matchingImageView == nil) {
        _matchingImageView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"myt2"]];
        _matchingImageView.frame = CGRectMake(0, 464, [UIScreen mainScreen].bounds.size.width, 100);
    }
    return _matchingImageView;
}
@end
